package com.etc.service;

import com.etc.entity.Room;

import java.util.List;
import java.util.Map;

public interface RoomService {
    public List<Room> findAllRoom();

    public Room findById(Integer id);

    public List<Room> findByPark(Integer id);

    public List<Room> findByBuilding(Integer id);

    public List<Room> findByOwner(Integer id);

    public List<Room> findByRoomNum(Integer id);

    public List<Room> findByAnyCondition(Map<String,Object> map);

    public List<Room> findFreeRoom();

    public List<Room> findFreeRoomByBuilding(Integer id);

    public List<Room> findBusyRoom();

    public List<Room> findBusyRoomByBuilding(Integer id);


}
